﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Freetour.UI.Models.Membership.Account
{
    public class LoginOnModel
    {
        [DisplayName("用户名")]
        [Required(ErrorMessage= "用户名不能为空")]
        public string UserID { get; set; }

        [DisplayName("密码")]
        [Required(ErrorMessage="密码不能为空")]
        public string Password { get; set; }

        [DisplayName("自动登陆")]
        public bool AutoLogin { get; set; }
    }
}